/*
 * @Author: 吴世扬 18368095041@163.com
 * @Date: 2022-09-23 16:33:50
 * @LastEditors: 吴世扬 18368095041@163.com
 * @LastEditTime: 2022-10-10 12:03:56
 * @FilePath: /vue3-datav/src/main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import { createPinia } from 'pinia';
import 'virtual:svg-icons-register';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import * as ElementPlusIconsVue from '@element-plus/icons-vue';

import './assets/styles/index.scss';

const app = createApp(App);

app.use(router);

app.use(createPinia());
app.use(ElementPlus);

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}

app.mount('#app');
